#ifndef REQUESTQUEUE_H_
#define REQUESTQUEUE_H_

#include "Queue.h"
#include "Messages.h"

class RequestQueue {
private:
	Queue<RequestMessage> queue;

public:
	RequestQueue(char* file, char character);
	virtual ~RequestQueue();

	// Client-side
	int Send(RequestMessage requestMessage);

	// Server-side
	int Receive(QueueRecord<RequestMessage>& request);

	void destroy();
};

#endif /* REQUESTQUEUE_H_ */
